<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单详情 - 花礼相伴</title>
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- FontAwesome 图标库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            background-color: #f8f8f8;
        }
    </style>
</head>
<body class="bg-gray-100">
    <!-- 主体内容 -->
    <div class="min-h-screen flex flex-col">
        <!-- 导航栏 -->
        <header class="bg-white p-4 border-b border-gray-200 shadow-sm">
            <div class="container mx-auto flex items-center justify-between">
                <a href="home.html" class="text-2xl font-bold text-rose-500 flex items-center">
                    <i class="fas fa-flower text-rose-500 mr-2"></i>
                    花礼相伴
                </a>
                <div class="hidden lg:block w-1/3">
                    <div class="relative">
                        <input type="text" placeholder="搜索鲜花、场景..." 
                            class="w-full pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-rose-500">
                        <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
                    </div>
                </div>
                <nav class="hidden md:flex space-x-6">
                    <a href="home.html" class="text-gray-600 hover:text-rose-500">首页</a>
                    <a href="categories.html" class="text-gray-600 hover:text-rose-500">分类</a>
                    <a href="cart.html" class="text-gray-600 hover:text-rose-500">购物车</a>
                </nav>
                <div class="flex items-center space-x-4">
                    <a href="cart.html" class="p-2 relative">
                        <i class="fas fa-shopping-cart text-gray-600 text-xl"></i>
                        <span class="absolute top-0 right-0 bg-rose-500 text-white rounded-full text-xs w-4 h-4 flex items-center justify-center">3</span>
                    </a>
                    <div class="hidden md:flex items-center space-x-2">
                        <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="用户头像" class="w-8 h-8 rounded-full">
                        <span class="text-gray-700">李小花</span>
                    </div>
                </div>
            </div>
            <!-- 移动端搜索栏 -->
            <div class="mt-3 relative md:hidden">
                <input type="text" placeholder="搜索鲜花、场景..." 
                    class="w-full pl-10 pr-4 py-2 rounded-full border border-gray-300 focus:outline-none focus:ring-2 focus:ring-rose-500">
                <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400"></i>
            </div>
        </header>

        <!-- 主体内容区域 -->
        <main class="flex-grow container mx-auto px-4 py-6 md:py-8">
            <!-- 面包屑导航 -->
            <div class="text-sm text-gray-500 mb-4">
                <a href="home.html" class="hover:text-rose-500">首页</a> &gt; 
                <a href="user-center.html" class="hover:text-rose-500">个人中心</a> &gt; 
                <span class="text-gray-700">订单详情</span>
            </div>

            <h1 class="text-2xl font-bold mb-6">订单详情</h1>

            <!-- 订单状态和基本信息 -->
            <div class="bg-white rounded-lg shadow-sm p-4 md:p-6 mb-6">
                <div class="md:flex md:justify-between md:items-center">
                    <div>
                        <p class="text-gray-500 mb-2">订单编号：<span class="text-gray-700">20230615001</span></p>
                        <p class="text-gray-500">下单时间：<span class="text-gray-700">2023-06-15 14:30:25</span></p>
                    </div>
                    <div class="mt-4 md:mt-0">
                        <div class="text-rose-500 text-lg font-medium">待发货</div>
                    </div>
                </div>
                
                <!-- 订单状态流程 -->
                <div class="mt-6">
                    <div class="flex justify-between items-center relative">
                        <div class="absolute left-0 right-0 top-1/2 h-1 bg-gray-200 -z-10">
                            <div class="h-full bg-rose-500 w-1/3"></div>
                        </div>
                        
                        <div class="flex flex-col items-center">
                            <div class="w-8 h-8 rounded-full bg-rose-500 text-white flex items-center justify-center mb-2">
                                <i class="fas fa-check"></i>
                            </div>
                            <div class="text-sm text-rose-500 font-medium">下单成功</div>
                            <div class="text-xs text-gray-500">06-15 14:30</div>
                        </div>
                        
                        <div class="flex flex-col items-center">
                            <div class="w-8 h-8 rounded-full bg-rose-500 text-white flex items-center justify-center mb-2">
                                <i class="fas fa-check"></i>
                            </div>
                            <div class="text-sm text-rose-500 font-medium">支付成功</div>
                            <div class="text-xs text-gray-500">06-15 14:35</div>
                        </div>
                        
                        <div class="flex flex-col items-center">
                            <div class="w-8 h-8 rounded-full bg-gray-300 text-white flex items-center justify-center mb-2">
                                <i class="fas fa-box"></i>
                            </div>
                            <div class="text-sm text-gray-500">商品出库</div>
                            <div class="text-xs text-gray-500">待处理</div>
                        </div>
                        
                        <div class="flex flex-col items-center">
                            <div class="w-8 h-8 rounded-full bg-gray-300 text-white flex items-center justify-center mb-2">
                                <i class="fas fa-truck"></i>
                            </div>
                            <div class="text-sm text-gray-500">配送中</div>
                            <div class="text-xs text-gray-500">待处理</div>
                        </div>
                        
                        <div class="flex flex-col items-center">
                            <div class="w-8 h-8 rounded-full bg-gray-300 text-white flex items-center justify-center mb-2">
                                <i class="fas fa-flag-checkered"></i>
                            </div>
                            <div class="text-sm text-gray-500">已送达</div>
                            <div class="text-xs text-gray-500">待处理</div>
                        </div>
                    </div>
                </div>
            </div>

            <!-- 收货信息 -->
            <div class="bg-white rounded-lg shadow-sm p-4 md:p-6 mb-6">
                <h2 class="text-lg font-bold mb-4">收货信息</h2>
                
                <div class="space-y-2">
                    <p><span class="text-gray-500 inline-block w-20">收货人：</span>张三</p>
                    <p><span class="text-gray-500 inline-block w-20">联系电话：</span>138****5678</p>
                    <p><span class="text-gray-500 inline-block w-20">收货地址：</span>北京市朝阳区建国路88号中央公园12号楼2单元501室</p>
                </div>
            </div>

            <!-- 配送信息 -->
            <div class="bg-white rounded-lg shadow-sm p-4 md:p-6 mb-6">
                <h2 class="text-lg font-bold mb-4">配送信息</h2>
                
                <div class="space-y-2">
                    <p><span class="text-gray-500 inline-block w-20">配送方式：</span>普通配送</p>
                    <p><span class="text-gray-500 inline-block w-20">期望时间：</span>2023-06-16 上午 (9:00-12:00)</p>
                    <p><span class="text-gray-500 inline-block w-20">配送状态：</span><span class="text-rose-500">待发货</span></p>
                </div>
            </div>

            <!-- 商品清单 -->
            <div class="bg-white rounded-lg shadow-sm p-4 md:p-6 mb-6">
                <h2 class="text-lg font-bold mb-4">商品清单</h2>
                
                <div class="border-b border-gray-100 pb-4 mb-4">
                    <div class="flex">
                        <div class="w-16 h-16 md:w-20 md:h-20 flex-shrink-0 rounded overflow-hidden mr-4">
                            <!-- 图片来源: https://unsplash.com/photos/a-bouquet-of-flowers-with-colorful-roses-in-it-7e9KaLQ9j0g -->
                            <img src="https://images.unsplash.com/photo-1586968895917-80585d521b92?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=200&q=80" 
                                alt="红玫瑰花束" class="w-full h-full object-cover">
                        </div>
                        <div class="flex-grow">
                            <h3 class="font-medium">浪漫红玫瑰花束</h3>
                            <p class="text-sm text-gray-500 mt-1">规格：11朵 | 包装：牛皮纸</p>
                            <div class="flex justify-between items-center mt-2">
                                <span class="text-rose-500 font-bold">¥199</span>
                                <span class="text-gray-500">x1</span>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 留言卡片 -->
                <div class="bg-gray-50 p-3 rounded-md mb-4">
                    <h3 class="font-medium mb-2">留言卡片</h3>
                    <p class="text-gray-700">生日快乐！愿你每天都像这束花一样美丽绽放。</p>
                </div>

                <!-- 费用明细 -->
                <div class="space-y-2">
                    <div class="flex justify-between text-gray-600">
                        <span>商品金额：</span>
                        <span>¥199.00</span>
                    </div>
                    <div class="flex justify-between text-gray-600">
                        <span>配送费：</span>
                        <span>¥15.00</span>
                    </div>
                    <div class="flex justify-between text-lg font-bold pt-2 border-t border-gray-100 mt-2">
                        <span>实付金额：</span>
                        <span class="text-rose-500">¥214.00</span>
                    </div>
                </div>
            </div>

            <!-- 操作按钮 -->
            <div class="flex flex-wrap gap-4 justify-center md:justify-end">
                <button class="px-6 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-50 transition duration-300">
                    取消订单
                </button>
                <button class="px-6 py-2 bg-white border border-gray-300 rounded-md hover:bg-gray-50 transition duration-300">
                    联系客服
                </button>
                <button class="px-6 py-2 bg-rose-500 text-white rounded-md hover:bg-rose-600 transition duration-300">
                    查看物流
                </button>
            </div>
        </main>

        <!-- 页脚 -->
        <footer class="bg-white pt-8 pb-6 mt-8 border-t border-gray-200">
            <div class="container mx-auto px-4">
                <div class="grid grid-cols-2 md:grid-cols-4 gap-6 mb-8">
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">关于我们</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">品牌故事</a></li>
                            <li><a href="#" class="hover:text-rose-500">企业文化</a></li>
                            <li><a href="#" class="hover:text-rose-500">门店展示</a></li>
                            <li><a href="#" class="hover:text-rose-500">联系我们</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">购物指南</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">购物流程</a></li>
                            <li><a href="#" class="hover:text-rose-500">支付方式</a></li>
                            <li><a href="#" class="hover:text-rose-500">常见问题</a></li>
                            <li><a href="#" class="hover:text-rose-500">售后服务</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">配送服务</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li><a href="#" class="hover:text-rose-500">配送范围</a></li>
                            <li><a href="#" class="hover:text-rose-500">配送时间</a></li>
                            <li><a href="#" class="hover:text-rose-500">配送费用</a></li>
                            <li><a href="#" class="hover:text-rose-500">特殊配送服务</a></li>
                        </ul>
                    </div>
                    <div>
                        <h3 class="font-bold text-gray-800 mb-4">联系我们</h3>
                        <ul class="space-y-2 text-sm text-gray-600">
                            <li class="flex items-center"><i class="fas fa-phone mr-2 text-rose-500"></i> 400-800-8888</li>
                            <li class="flex items-center"><i class="fas fa-envelope mr-2 text-rose-500"></i> service@flowercompany.com</li>
                            <li class="flex items-center"><i class="fas fa-map-marker-alt mr-2 text-rose-500"></i> 北京市朝阳区建国路88号</li>
                        </ul>
                        <div class="flex space-x-4 mt-4">
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fab fa-weixin"></i></a>
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fab fa-weibo"></i></a>
                            <a href="#" class="text-gray-400 hover:text-rose-500 text-lg"><i class="fas fa-envelope"></i></a>
                        </div>
                    </div>
                </div>
                <div class="border-t border-gray-200 pt-6 text-center text-sm text-gray-500">
                    <p>© 2023 花礼相伴 版权所有 京ICP备12345678号</p>
                </div>
            </div>
        </footer>
    </div>
</body>
</html>